package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoShippingNew entity provides the base persistence definition of the
 * WhoShippingNew entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoShippingNew implements java.io.Serializable {

	// Fields

	private Integer shippingId;
	private String shippingName;
	private Short isFile;
	private Double shippingZql;
	private Double shippingRyl;
	private Double shippingBgf;

	// Constructors

	/** default constructor */
	public AbstractWhoShippingNew() {
	}

	/** full constructor */
	public AbstractWhoShippingNew(String shippingName, Short isFile,
			Double shippingZql, Double shippingRyl, Double shippingBgf) {
		this.shippingName = shippingName;
		this.isFile = isFile;
		this.shippingZql = shippingZql;
		this.shippingRyl = shippingRyl;
		this.shippingBgf = shippingBgf;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "shipping_id", unique = true, nullable = false)
	public Integer getShippingId() {
		return this.shippingId;
	}

	public void setShippingId(Integer shippingId) {
		this.shippingId = shippingId;
	}

	@Column(name = "shipping_name", nullable = false, length = 120)
	public String getShippingName() {
		return this.shippingName;
	}

	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}

	@Column(name = "is_file", nullable = false)
	public Short getIsFile() {
		return this.isFile;
	}

	public void setIsFile(Short isFile) {
		this.isFile = isFile;
	}

	@Column(name = "shipping_zql", nullable = false, precision = 10)
	public Double getShippingZql() {
		return this.shippingZql;
	}

	public void setShippingZql(Double shippingZql) {
		this.shippingZql = shippingZql;
	}

	@Column(name = "shipping_ryl", nullable = false, precision = 10)
	public Double getShippingRyl() {
		return this.shippingRyl;
	}

	public void setShippingRyl(Double shippingRyl) {
		this.shippingRyl = shippingRyl;
	}

	@Column(name = "shipping_bgf", nullable = false, precision = 10)
	public Double getShippingBgf() {
		return this.shippingBgf;
	}

	public void setShippingBgf(Double shippingBgf) {
		this.shippingBgf = shippingBgf;
	}

}